package com.das.mechanic_base.bean.alone;

import com.das.mechanic_base.gen.AloneImageOrRecordConverter;

import org.greenrobot.greendao.annotation.Convert;
import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

import java.util.List;

@Entity
public class AloneImageBean {

    @Id(autoincrement = true)
    private Long id;

    /**
     * 唯一标识 通过workBaseId + system + 检测项下标
     */
    private String onlyLogo;

    @Convert(converter = AloneImageOrRecordConverter.class, columnType = String.class)
    private List<AloneImageAndRecordBean> mList;

    public List<AloneImageAndRecordBean> getMList() {
        return this.mList;
    }

    public void setMList(List<AloneImageAndRecordBean> mList) {
        this.mList = mList;
    }

    public String getOnlyLogo() {
        return this.onlyLogo;
    }

    public void setOnlyLogo(String onlyLogo) {
        this.onlyLogo = onlyLogo;
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @Generated(hash = 638824117)
    public AloneImageBean(Long id, String onlyLogo,
            List<AloneImageAndRecordBean> mList) {
        this.id = id;
        this.onlyLogo = onlyLogo;
        this.mList = mList;
    }

    @Generated(hash = 2000601960)
    public AloneImageBean() {
    }


}
